package com.luych.toolbox.common.feign.param.data.service;

import com.luych.toolbox.common.feign.FeignParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Map;

@ApiModel("数据同步计划")
public class DataTransporterPlanParam extends FeignParam {

    @ApiModelProperty("来源数据源")
    private String dataSourceFromId;
    @ApiModelProperty("目标数据源")
    private String dataSourceToId;
    @ApiModelProperty("数据表对应关系")
    private Map<String, String> tables;
    @ApiModelProperty("描述")
    private String name;
    @ApiModelProperty("CRON表达式")
    private String cron;
    @ApiModelProperty("责任人ID")
    private String ownerId;

    public String getDataSourceFromId() {
        return dataSourceFromId;
    }

    public void setDataSourceFromId(String dataSourceFromId) {
        this.dataSourceFromId = dataSourceFromId;
    }

    public String getDataSourceToId() {
        return dataSourceToId;
    }

    public void setDataSourceToId(String dataSourceToId) {
        this.dataSourceToId = dataSourceToId;
    }

    public Map<String, String> getTables() {
        return tables;
    }

    public void setTables(Map<String, String> tables) {
        this.tables = tables;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }
}
